<?php

use Illuminate\Database\Seeder;

class CommentTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //
        for ($i=0; $i < 10; $i++) {
            \App\Models\Comment::create([
                'content'    => 'comment '.$i,
                'user_id'    => '1',
                'item_type' => 'App\Models\Post'
            ]);
        }
    }
}
